<?php
/**
 * 响应
 * curl.php
 * request.php
 * curl_request.php
 * reponse.php
 **/ 
$data = file_get_contents("php://input");
echo "<pre>";
var_dump($data);
print_r($_REQUEST);  
print_r($_COOKIE);
print_r($_SERVER); 
echo "request header\n";
var_dump(apache_request_headers());
echo "reponse header\n";
var_dump(headers_list(),headers_sent(),apache_response_headers(), http_response_code());